﻿using System;
using System.Web.UI;
using System.Data;
using LIB.Data;

public partial class App_Form_DanhMuc_chom_phongban : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string b_qr = Request.QueryString["id_ph"];
            DataTable b_dt = SqlData.GetData(LIB.Core.LibConvert.OBJ_STR(b_qr, ""), "PPHAN_CONG_NS_TIM");
            string ds_ns=LIB.Core.LibTable.FormTableToJson(b_dt);
            ScriptManager.RegisterStartupScript(this, this.GetType(), Guid.NewGuid().ToString(), "P_DATA(" + ds_ns + ");", true);
        }
    }
}